package com.joysuch.wwyt.attendance.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author ZhaoQiuWei
 * @Date 2022/3/4 15:14
 */
@Data
public class AttendanceUserParam {

    @ApiModelProperty(value = "考勤组id")
    @NotNull(message = "不能为空")
    private Long groupId;

    @ApiModelProperty(value = "页码，从 1 开始", required = true, example = "1")
    @NotNull(message = "页码不能为空")
    private Integer pageNumber;

    @ApiModelProperty(value = "每页条数", required = true, example = "15")
    @NotNull(message = "每页条数不能为空")
    private Integer pageSize;

    @ApiModelProperty(value = "年")
    @NotNull(message = "年不能为空")
    private Integer year;

    @ApiModelProperty(value = "月")
    @NotNull(message = "月不能为空")
    private Integer month;

    @ApiModelProperty(value = "人员名称")
    private String userName;

    @ApiModelProperty(value = "部门id")
    private Long departId;
}
